/*
 * @Author: xiehangyun 
 * @Date: 2025-05-16 18:16:33 
 * @Last Modified by:   xiehangyun 
 * @Last Modified time: 2025-05-16 18:16:33 
 */
import Api from "src/api/Api";
import goodsTemlateDataJSON from "./goodsTemplatData.json";

//接口
class GoodsTemlateApi extends Api {

    constructor() {
        super();
    }

    //根据底板ID查询关联的场景模板列表
    listByNegativeId(productNegativeId: number) {
        // return goodsTemlateDataJSON;
        return this._get('/product/negativeTemplate/listByNegativeId', {
            productNegativeId,
            pageNum: 1,
            pageSize: 999,
            designLimit: 9,
        });
    }

}

const goodsTemlateApi = new GoodsTemlateApi();

export default goodsTemlateApi;